Package-level declarations
Types
Functions
Link copied to clipboard
Represents a header item of the menu.
Link copied to clipboard
fun <T : Any> Dropdown(modifier: Modifier = Modifier, isOpen: Boolean, menu: MenuItem<T>, colors: DropDownMenuColors = dropDownMenuColors(), offset: DpOffset = DpOffset.Zero, enter: EnterAnimation = EnterAnimation.FadeIn, exit: ExitAnimation = ExitAnimation.FadeOut, easing: Easing = Easing.FastOutLinearInEasing, enterDuration: Int = 500, exitDuration: Int = 500, onItemSelected: (T?) -> Unit, onDismiss: () -> Unit)
Dropdown is a DropdownMenu wrapper class to add cascade effect and animations.
Link copied to clipboard
Link copied to clipboard
fun dropDownMenuColors(backgroundColor: Color = MaterialTheme.colors.surface, contentColor: Color = MaterialTheme.colors.onSurface): DropDownMenuColors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Wrapper for handling onClick and user interaction for a dropdown MenuItem.
Link copied to clipboard
Displays an icon for the MenuItem.
Link copied to clipboard
Displays text for the MenuItem.
Link copied to clipboard
fun <T> ParentItem(id: T, title: String, icon: ImageVector?, contentColor: Color, onClick: (T) -> Unit)
Represents a parent item of the menu.
Link copied to clipboard
Adds space content.